//
//  BJButton.m
//  JuJinHuiRong
//
//  Created by APPLE on 16/11/7.
//  Copyright © 2016年 APPLE. All rights reserved.
//

#import "BJButton.h"
#define BtnFont 15
#define BtnWidth BILIWIDTH(45)
#define BtnHeight BILIHEIGHT(45)
@implementation BJButton

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        [self initUI];
    }
    return self;
}

- (void)initUI{
    
    _imageViews = [Utils imageViewWithFrame:CGRectMake(BILIWIDTH(10), BILIHEIGHT(10), BtnWidth, BtnHeight) withImage:[UIImage imageNamed:@"wei"]];
//    BJViewBorderRadius(_imageViews, BILIHEIGHT(45 / 2), 1.0, ClearColor);
    [self addSubview:_imageViews];
    
    _titleLablees = [Utils labelWithFrame:CGRectMake(BILIWIDTH(0), BILIHEIGHT(60), BILIWIDTH(70), BILIHEIGHT(15)) withTitle:nil titleFontSize:14 textColor:[UIColor blackColor] backgroundColor:nil alignment:1];
    [self addSubview:_titleLablees];
}

@end
